package com.fjp.heartguard.app.data.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 *Author:Mr'x
 *Time:2025/2/11
 *Description:
 */
@Parcelize
data class OlderInfo(
    var id:Int,
    var name: String,
    var sex: String,
    var mobile: String,
    var birthday: String,
    var province: String,
    var city: String,
    var district: String,
    var address: String,
    var live_type: String,
    var institution_name: String,
    var audio_file: String,
    var signature: String,
    var supplement: String,
    var assess_time: String,
    var questionnaire: MutableList<Questionnaire>,
    var age:Int=0,
    var created_at:String="",
    var updated_at:Int=0,
) : Parcelable
@Parcelize
class Questionnaire(var title: String, var score: Int, var result: String,var type:Int,var description:String, var question: MutableList<OlderInfoQuestion>,var is_show:Boolean = true):  Parcelable
@Parcelize
class OlderInfoQuestion(var title: String, var select: MutableList<Select>) : Parcelable
@Parcelize
class Select(var title: String, var is_selected: Int, var value: String,var unanswerable:Int = 0) : Parcelable